/*
 * bloomfilter.h
 *
 *  Created on: 2011-10-26
 *      Author: liujian
 */

#ifndef BLOOMFILTER_H_
#define BLOOMFILTER_H_
#include<stddef.h>

/*变量的定义还是不要放在头文件，当到对应的c++模块里面去，然后通过函数访问*/

void bloom_filter_set_hash_table_size(size_t);

unsigned long string_hash(const char *string);

int bloom_filter_query(void *table_src, const char * string);

void bloom_filter_insert(void *table_src, const char *string);



#endif /* BLOOMFILTER_H_ */
